<!DOCTYPE html>
<html>
<head>
    <title>采集代理服务信息表</title>
		<#include "/header.html">
</head>
<body>
<div id="rrapp" v-cloak>
    <div v-show="showList">
        <div class="grid-btn">
			<#if shiro.hasPermission("iots:iotscollectserverinfo:save")>
            <a class="btn btn-primary" @click="add"><i class="fa fa-plus"></i>&nbsp;新增</a>
			</#if>
			<#if shiro.hasPermission("iots:iotscollectserverinfo:update")>
            <a class="btn btn-primary" @click="update"><i class="fa fa-pencil-square-o"></i>&nbsp;修改</a>
			</#if>
			<#if shiro.hasPermission("iots:iotscollectserverinfo:delete")>
            <a class="btn btn-primary" @click="del"><i class="fa fa-trash-o"></i>&nbsp;删除</a>
			</#if>
        </div>
        <table id="jqGrid"></table>
        <div id="jqGridPager"></div>
    </div>

    <div v-show="!showList" class="panel panel-default">
        <div class="panel-heading">{{title}}</div>
        <form class="form-horizontal">
														                    <div class="form-group">
                        <div class="col-sm-2 control-label">采集代理服务器的名称</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="iotsCollectserverInfo.name" placeholder="采集代理服务器的名称"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">说明</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="iotsCollectserverInfo.remark" placeholder="说明"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">采集服务器的类型（0 代表默认 1 。。 2 。。 3 。。 ）</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="iotsCollectserverInfo.serverType" placeholder="采集服务器的类型（0 代表默认 1 。。 2 。。 3 。。 ）"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">采集服务器的ip地址</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="iotsCollectserverInfo.ipAddress" placeholder="采集服务器的ip地址"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">是否启用（0 表示未启用  1 表示启用）</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="iotsCollectserverInfo.enable" placeholder="是否启用（0 表示未启用  1 表示启用）"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">创建者ID</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="iotsCollectserverInfo.creator" placeholder="创建者ID"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">创建时间</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="iotsCollectserverInfo.createtime" placeholder="创建时间"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">更新者ID</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="iotsCollectserverInfo.updator" placeholder="更新者ID"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">更新时间</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="iotsCollectserverInfo.updatetime" placeholder="更新时间"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">是否已删除（0 表示未删除  1 表示已删除 ）</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="iotsCollectserverInfo.isdel" placeholder="是否已删除（0 表示未删除  1 表示已删除 ）"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">预留字段1</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="iotsCollectserverInfo.field1" placeholder="预留字段1"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">预留字段2</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="iotsCollectserverInfo.field2" placeholder="预留字段2"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">预留字段3</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="iotsCollectserverInfo.field3" placeholder="预留字段3"/>
                        </div>
                    </div>
							            <div class="form-group">
                <div class="col-sm-2 control-label"></div>
                <input type="button" class="btn btn-primary" @click="saveOrUpdate" value="确定"/>
                &nbsp;&nbsp;<input type="button" class="btn btn-warning" @click="reload" value="返回"/>
            </div>
        </form>
    </div>
</div>

<script src="${request.contextPath}/statics/js/modules/iots/iotscollectserverinfo.js?_${.now?long}"></script>
</body>
</html>